package com.example.administrator.caigou51.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/8/24/024.
 */
public class ZhuangQuXiangQingBean {

    /**
     * catid : 4
     * catname : 高毛利新品
     * sub_cat : [{"catid":"11","catname":"感冒用药"}]
     * goods : [{"title":"京都念慈庵金桔柠檬糖（铁盒）","itemid":"1230415856","price":"16.50","ship_price":"10.950","thumb":"http://img01.kzj365.com/images/201207/goods_img/8281_G_1343464652164.jpg","corporation":"京都念慈庵总厂有限公司","sales":"0","product_spec":"2.5g*18粒（45g）","promotion":1}]
     */


        private String catid;
        private String catname;
        /**
         * catid : 11
         * catname : 感冒用药
         */

        private List<SubCatEntity> sub_cat;
        /**
         * title : 京都念慈庵金桔柠檬糖（铁盒）
         * itemid : 1230415856
         * price : 16.50
         * ship_price : 10.950
         * thumb : http://img01.kzj365.com/images/201207/goods_img/8281_G_1343464652164.jpg
         * corporation : 京都念慈庵总厂有限公司
         * sales : 0
         * product_spec : 2.5g*18粒（45g）
         * promotion : 1
         */

        private List<GoodsDetailBean> goods;

        public void setCatid(String catid) {
            this.catid = catid;
        }

        public void setCatname(String catname) {
            this.catname = catname;
        }

        public void setSub_cat(List<SubCatEntity> sub_cat) {
            this.sub_cat = sub_cat;
        }

        public void setGoods(List<GoodsDetailBean> goods) {
            this.goods = goods;
        }

        public String getCatid() {
            return catid;
        }

        public String getCatname() {
            return catname;
        }

        public List<SubCatEntity> getSub_cat() {
            return sub_cat;
        }

        public List<GoodsDetailBean> getGoods() {
            return goods;
        }

        public static class SubCatEntity {
            private String catid;
            private String catname;

            public void setCatid(String catid) {
                this.catid = catid;
            }

            public void setCatname(String catname) {
                this.catname = catname;
            }

            public String getCatid() {
                return catid;
            }

            public String getCatname() {
                return catname;
            }
        }


}
